package com.lxujia.ruankao.model;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

// 用来存放开机数据库是否初始化完成的表
public class DbInitModel extends LitePalSupport {
    @Column(defaultValue = "0")  // 默认值
    private int initSuccess; // 默认为0, 未初始化成功; 1 为初始化成功

    public DbInitModel() {}

    public DbInitModel(int initSuccess) {
        this.initSuccess = initSuccess;
    }

    public int getInitSuccess() {
        return initSuccess;
    }

    public void setInitSuccess(int initSuccess) {
        this.initSuccess = initSuccess;
    }
}
